﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UFSSMaster.Master" AutoEventWireup="true" CodeBehind="updatepass.aspx.cs" Inherits="UFSSWebApp.updatepass" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageName" runat="server">
Profile / Update Password</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Body" runat="server">
    <div class="Box" style="width:500px">
		<span class="subheading">Change Password</span><hr />
        <table>
            <tbody>
                <tr>
                    <td align="right"><b>Old Password: </b></td>
                    <td><asp:TextBox ID="txtOPass" runat="server" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="revOPass" runat="server" ErrorMessage="*" 
                            ControlToValidate="txtOPass"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right"><b>New Password: </b></td>
                    <td><asp:TextBox ID="txtNPass1" runat="server" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="revNPass1" runat="server" ErrorMessage="*" 
                            ControlToValidate="txtNPass1"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right"><b>Re-enter New Password: </b></td>
                    <td><asp:TextBox ID="txtNPass2" runat="server" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="revNPass2" runat="server" ErrorMessage="*" 
                            ControlToValidate="txtNPass2"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td></td>
                    <td><asp:Button ID="btnConfirm" runat="server" Text="Confirm" 
                            onclick="btnConfirm_Click" />&nbsp; <asp:Button ID="btnCancel" 
                            runat="server" Text="Cancel" onclick="btnCancel_Click" 
                            UseSubmitBehavior="False" /></td>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
